package cn.wolfcode.mapper;

import cn.wolfcode.domain.Student;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {
    void save(Student student);
    /* 保存关系*/
    void insertRelation(@Param("studentId") Long studentId, @Param("teacherId") Long teacherId);

    //查询
    Student get(Long id);

    //删除
    void delete(Long id);
    void deleteStudent(Long studentId);
}
